<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Victor
 * Date: 10.12.11
 * Time: 22:25
 * To change this template use File | Settings | File Templates.
 */
 
class Category {
    /*
     * `dzundza_category`.`idcategory`,
     *  `dzundza_category`.`raiting`,
     * `dzundza_category`.`categoryName`
     * */
    private $idcategory;
    private $raiting = null;
    private $categoryName = '';


    public function __construct($raiting = null, $categoryName){
      $this->raiting = $raiting;
      $this->categoryName = $categoryName;

    }
    public function setRaiting($raiting)
    {
        $this->raiting = $raiting;
    }

    public function getRaiting()
    {
        return $this->raiting;
    }

    public function setCategoryName($categoryName)
    {
        $this->categoryName = $categoryName;
    }

    public function getCategoryName()
    {
        return $this->categoryName;
    }

    public function setIdcategory($idcategory)
    {
        $this->idcategory = $idcategory;
    }

    public function getIdcategory()
    {
        return $this->idcategory;
    }
}
